{% extends "base.html" %} 

{% block head %}  
<link rel="stylesheet" type="text/css" href="{{handler.static_url}}/css/home.css"> 
<title>首页 |  Stock+</title> 
{% end %}

{% block body %}  


<div class="container">

<div style="width: 70%; float:left;">
	
<div class="news">
	<div style="width: 49.5%; float:left;">
		<div class="caption clearfix">
			<h3>精品资讯</h3> 
			<h5><a href="/news">更多»</a></h5>
		</div>
		<div class="news-selected">
			<div class="title"><a target="_blank" href="/forum/thread/4eaea7303e429009cf000002">跨境贸易人民币结算地区扩至全国</a></div>
			<div class="body">通知明确，河北、山西、安徽、江西、河南、湖南、贵州、陕西、甘肃、青海和宁夏省(自治区)的企业可以开展跨境贸易人民币结算；</div>
		</div>
		<div class="news-list"> 
			{% for thread in threads %}
			<div class="item">
				<img src="{{handler.static_url}}/img/a1.gif">
				<a target="_blank" href="/forum/thread/{{thread['_id']}}">{{thread['title'][0:22]}}</a>
				<span style="font-size: 12px;">10/13</span>
			</div>
			{% end %}
		</div>
	</div>	
	<div style="width: 49.5%; float:right;">
		<div class="caption">
			<h3>研究报告</h3> 
			<h5><a href="/report">更多»</a></h5>
		</div>
		<div class="news-selected">
			<div class="title"><a target="_blank" href="/report/view">聚龙股份进口替代打开长期增长空间</a></div>
			<div class="body">在商业银行网点一级进行人民币流通管理的需求越来越迫切，清分机有望部分取代点钞机成为银行网点的常规配置</div>
		</div>
		<div class="news-list"> 
			{% for i in range(10) %}
			<div class="item">
				<img src="{{handler.static_url}}/img/a1.gif">
				<a target="_blank" href="/report/view">中金公司:中国公司债及企业债信用分析周报</a>
				<span style="font-size: 12px;">10/13</span>
			</div>
			{% end %} 
		</div>
	</div> 
	<div class="c"></div>
</div>

<div class="discussion">
	<div class="caption clearfix">
		<h3>讨论区</h3>
		<ul>
			<li><a href="#">调研问答</a></li>
			<li><a href="#">经验分享</a></li>
			<li><a href="#">财经大杂烩</a></li>
			<li><a href="#">站务/建议</a></li>
		</ul>
		<h5><a href="/forum">更多»</a></h5>
	</div>  
	<div class="discuss-list">
	{% for thread in threads %}
		<div class="item">
			<a target="_blank" href="/forum/thread/{{thread['_id']}}">{{thread['title']}}</a>
			<span class="stat">71回/2954阅</span>
			<span class="author">{{time_fmt(thread['created_at'])}} By {{thread['user']['name']}}</span>
			
		</div>
	{% end %} 
	</div>
</div>


<div class="file-share">
	<div class="caption clearfix">
		<h3>共享文档</h3>
		 
		<h5><a href="/file">更多»</a></h5>
	</div>  
	<div class="discuss-list">
	{% for i in range(13) %}
		<div class="item">
			<a target="_blank" href="#"> 中金公司:中国公司债及企业债信用分析周报</a>
			<span class="author">28分钟前 By rushmore</span>
			<span class="stat">71<a href="#">下载</a></span>
		</div>
	{% end %} 
	</div>
</div>
 

</div>
<div style="width: 29%; float:right;">
<div>
		<div class="caption">
			<h3>嘀咕一下~</h3>  
		</div>
		<div class="weibo clearfix">
			<textarea placeholder="今天你嘀咕了吗？"></textarea>
			<span class="btn success">嘀咕</span>
		</div>
		<div class="weibo-list"> 
		{% for i in range(8) %}
		{% set num = randrange(10) %}
		<div class="item clearfix"> 
			<div class="image32 l">
				<a href="#"><img src="{{handler.static_url}}/img/{{num}}.jpg"></a>
			</div>
			<div class="text">
				<a href="#">洪磊明: </a>
				<span>又开始了杭州出差的生活， 希望不要失眠。</span>
				<div class="stat">15分钟前 <a href="#">(0评)</a></div>
			</div> 
		</div>
		{% end %} 
		</div>
</div> 

<div>
		<div class="caption"><h4>最新访问</h4></div>
		<div class="image-list">  
			{% for i in range(20) %}
			{% set num = randrange(10) %}
			<div class="image-item">
				<div class="image40">
					<a href="#"><img src="{{handler.static_url}}/img/{{num}}.jpg"></a>
				</div>
				<div class="name"><a href="#">洪雷鸣</a></div>
			</div>
			{% end %} 
		</div>
</div> 



</div>
	
</div>  


 
	
{% end %}
